package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
/**
 * 应用类型定义表
 * @author sun
 *
 */
public class AppKind implements Serializable{
	
	
    /**
	 * 
	 */
	private static final long serialVersionUID = -5351772305294692641L;

	/** 应用类型 */
    private Integer appType;

    /** 应用名称 */
    private String appName;

    /** 应用分类 */
    private String appKindId;

    /** 账户类型 */
    private String accountType;

    /** 预留标识 */
    private String flag;

    /** 是否有后台账户 */
    private String accountFlag;

    /** 是否联机应用 */
    private String isOnline;

    /** 应用类型状态 */
    private String isActivate;

    /** 有效期月数 */
    private Integer validMonthNum;

    /** 是否需年检 */
    private String isAnnual;

    /** 是否写卡 */
    private String isWriteCard;

    /** 应用标识 */
    private String appFlag;

    /** 是否可停用 */
    private String allowDisable;

    /** 默认生效日期 */
    private String activeDate;

    /** 备注 */
    private String remark;

    /** 创建柜员号 */
    private String crtOperator;

    /** 创建日期 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date crtDate;

    /** 最后修改柜员号 */
    private String lastOperator;

    /** 最后修改日期 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date lastDate;

    /** 开通提前天数 */
    private Integer openAheadDays;

    /** 年审提前天数 */
    private Integer annualAheadDays;

    /** 应用认证类型 */
    private String appauthType;


    public Integer getAppType() {
        return appType;
    }

    public void setAppType(Integer appType) {
        this.appType = appType;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName == null ? null : appName.trim();
    }

    public String getAppKindId() {
        return appKindId;
    }

    public void setAppKindId(String appKindId) {
        this.appKindId = appKindId == null ? null : appKindId.trim();
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType == null ? null : accountType.trim();
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag == null ? null : flag.trim();
    }

    public String getAccountFlag() {
        return accountFlag;
    }

    public void setAccountFlag(String accountFlag) {
        this.accountFlag = accountFlag == null ? null : accountFlag.trim();
    }

    public String getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(String isOnline) {
        this.isOnline = isOnline == null ? null : isOnline.trim();
    }

    public String getIsActivate() {
        return isActivate;
    }

    public void setIsActivate(String isActivate) {
        this.isActivate = isActivate == null ? null : isActivate.trim();
    }

    public Integer getValidMonthNum() {
        return validMonthNum;
    }

    public void setValidMonthNum(Integer validMonthNum) {
        this.validMonthNum = validMonthNum;
    }

    public String getIsAnnual() {
        return isAnnual;
    }

    public void setIsAnnual(String isAnnual) {
        this.isAnnual = isAnnual == null ? null : isAnnual.trim();
    }

    public String getIsWriteCard() {
        return isWriteCard;
    }

    public void setIsWriteCard(String isWriteCard) {
        this.isWriteCard = isWriteCard == null ? null : isWriteCard.trim();
    }

    public String getAppFlag() {
        return appFlag;
    }

    public void setAppFlag(String appFlag) {
        this.appFlag = appFlag == null ? null : appFlag.trim();
    }

    public String getAllowDisable() {
        return allowDisable;
    }

    public void setAllowDisable(String allowDisable) {
        this.allowDisable = allowDisable == null ? null : allowDisable.trim();
    }

    public String getActiveDate() {
        return activeDate;
    }

    public void setActiveDate(String activeDate) {
        this.activeDate = activeDate == null ? null : activeDate.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCrtOperator() {
        return crtOperator;
    }

    public void setCrtOperator(String crtOperator) {
        this.crtOperator = crtOperator == null ? null : crtOperator.trim();
    }

    public Date getCrtDate() {
        return crtDate;
    }

    public void setCrtDate(Date crtDate) {
        this.crtDate = crtDate;
    }

    public String getLastOperator() {
        return lastOperator;
    }

    public void setLastOperator(String lastOperator) {
        this.lastOperator = lastOperator == null ? null : lastOperator.trim();
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    public Integer getOpenAheadDays() {
        return openAheadDays;
    }

    public void setOpenAheadDays(Integer openAheadDays) {
        this.openAheadDays = openAheadDays;
    }

    public Integer getAnnualAheadDays() {
        return annualAheadDays;
    }

    public void setAnnualAheadDays(Integer annualAheadDays) {
        this.annualAheadDays = annualAheadDays;
    }

    public String getAppauthType() {
        return appauthType;
    }

    public void setAppauthType(String appauthType) {
        this.appauthType = appauthType == null ? null : appauthType.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", appType=").append(appType);
        sb.append(", appName=").append(appName);
        sb.append(", appKindId=").append(appKindId);
        sb.append(", accountType=").append(accountType);
        sb.append(", flag=").append(flag);
        sb.append(", accountFlag=").append(accountFlag);
        sb.append(", isOnline=").append(isOnline);
        sb.append(", isActivate=").append(isActivate);
        sb.append(", validMonthNum=").append(validMonthNum);
        sb.append(", isAnnual=").append(isAnnual);
        sb.append(", isWriteCard=").append(isWriteCard);
        sb.append(", appFlag=").append(appFlag);
        sb.append(", allowDisable=").append(allowDisable);
        sb.append(", activeDate=").append(activeDate);
        sb.append(", remark=").append(remark);
        sb.append(", crtOperator=").append(crtOperator);
        sb.append(", crtDate=").append(crtDate);
        sb.append(", lastOperator=").append(lastOperator);
        sb.append(", lastDate=").append(lastDate);
        sb.append(", openAheadDays=").append(openAheadDays);
        sb.append(", annualAheadDays=").append(annualAheadDays);
        sb.append(", appauthType=").append(appauthType);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
    
}